.class Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;
.super Ljava/lang/Object;
.source "FileTransferSettingActivity.java"

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;->onCreate(Landroid/os/Bundle;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;


# direct methods
.method constructor <init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 3

    .line 1
    invoke-static {}, Les/p00;->c()Les/p00;

    move-result-object p1

    const/4 v0, 0x1

    const-string v1, "sender"

    const-string v2, "setwifi"

    invoke-virtual {p1, v1, v2, v0}, Les/p00;->a(Ljava/lang/String;Ljava/lang/String;Z)V

    .line 2
    sget p1, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x19

    if-lt p1, v1, :cond_0

    if-nez p2, :cond_0

    .line 3
    new-instance p1, Lcom/estrongs/android/ui/dialog/q$n;

    iget-object p2, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    invoke-direct {p1, p2}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const p2, 0x7f1109f2

    .line 4
    invoke-virtual {p1, p2}, Lcom/estrongs/android/ui/dialog/q$n;->a(I)Lcom/estrongs/android/ui/dialog/q$n;

    const p2, 0x7f1109f1

    new-instance v1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c$a;

    invoke-direct {v1, p0}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c$a;-><init>(Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;)V

    .line 5
    invoke-virtual {p1, p2, v1}, Lcom/estrongs/android/ui/dialog/q$n;->d(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 6
    invoke-virtual {p1, v0}, Lcom/estrongs/android/ui/dialog/q$n;->a(Z)Lcom/estrongs/android/ui/dialog/q$n;

    .line 7
    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q$n;->c()Lcom/estrongs/android/ui/dialog/q;

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    iget-object p1, p1, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;->l:Landroid/widget/CheckBox;

    invoke-virtual {p1, v0}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_0

    .line 9
    :cond_0
    invoke-static {}, Lcom/estrongs/android/pop/l;->L1()Lcom/estrongs/android/pop/l;

    move-result-object p1

    invoke-virtual {p1, p2}, Lcom/estrongs/android/pop/l;->G(Z)V

    .line 10
    :goto_0
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    invoke-static {p1}, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;->a(Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;)Z

    move-result p1

    if-eqz p1, :cond_1

    .line 11
    iget-object p1, p0, Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity$c;->a:Lcom/estrongs/android/pop/app/filetransfer/FileTransferSettingActivity;

    const/4 p2, -0x1

    const/4 v0, 0x0

    invoke-virtual {p1, p2, v0}, Landroid/app/Activity;->setResult(ILandroid/content/Intent;)V

    :cond_1
    return-void
.end method
